package com.nanjia.boot.product.spec.value.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nanjia.boot.product.spec.value.model.entity.SpecValue;
import com.nanjia.boot.product.spec.value.model.query.SpecValueQuery;
import com.nanjia.boot.product.spec.value.model.vo.SpecValueVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 规格值Mapper接口
 *
 * @author 周洋
 * @since 2025-07-09 17:16
 */
@Mapper
public interface SpecValueMapper extends BaseMapper<SpecValue> {

    /**
     * 获取规格值分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<SpecValueVO>} 规格值分页列表
     */
    Page<SpecValueVO> getSpecValuePage(Page<SpecValueVO> page, SpecValueQuery queryParams);

}
